﻿/*******************************************************************
 *     JameE
 *******************************************************************
  Copyright 2010 Clifford Champion and JameE contributors.
  
  This file is part of JameE.
  
  JameE is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  
  JameE is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
  You should have received a copy of the GNU General Public License
  along with JameE.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************/

/// <reference path="~/Base/Classer.js" />
/// <reference path="~/Base/IncludeLoader.js" />

$include(
[
	
]);

$class(
"JameE.Engine.Aabb",
{
	/////////////////////
	// FIELDS
	/////////////
	fXMin: 0.0,
	fXMax: 0.0,
	fYMin: 0.0,
	fYMax: 0.0,

	// optional pointer back to associated object.
	oObject: null,


	/////////////////////
	// CONSTRUCTOR
	/////////////
	_ctor: function() {
		this.fXMin = $argument("xMin", "number") || 0.0;
		this.fXMax = $argument("xMax", "number") || 0.0;
		this.fYMin = $argument("yMin", "number") || 0.0;
		this.fYMax = $argument("yMax", "number") || 0.0;
		this.oObject = $argument("object") || null;
	}
});

$include_notify("Engine/Aabb.js");
